﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateUNTILBusiness" Bound="false" xmlns="http://schemas.microsoft.com/pag/gax-core" >
    <xi:include href="Include/TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <Caption>(Re)Create Project - (Entity, Business, Common, Test)</Caption>
    <HostData>
        <!--<Icon ID="500"/>-->
        <Icon File="img/ProjIconAll.ico"/>
        <CommandBar Name="Project" />
        <CommandBar Name="Folder"/>
        <CommandBar Name="Item" />
        <CommandBar Name="Project Add"/>
    </HostData>

    <!-- Arguments -->
    <xi:include href="Include/03/Arguments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

    <GatheringServiceData>
        <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
            <Pages>
                <Page>
                    <Title>(Re)Creates Project's Entity infrastructure (Entity, Business, Common, Test)</Title>
                    <Fields>
                        <Field ValueName="EntityName" Label="Class Name" />
                        <Field ValueName="Property1" Label="Property (Code) - if provided, GetDomainObjectSignature() returns its value "  />
                        <Field ValueName="Property2" Label="Property (Name) - if provided, ToDisplay() return its value "  />
                        <Field ValueName="Property3" Label="Property  ... " />
                        <Field ValueName="Namespace" Label="Namespace"  />
                        <Field ValueName="EntityBase" Label="!ADVANCED: Name of another 'abstract' entity to be used as a base class (except Codelist). Expects that there is some generic abstract Entity (similar to CodeList) providing some base operations"  />

                    </Fields>
                </Page>

                <Page Type="ProjectBase.Guidance.CustomWizardPages.EntityTypePage,ProjectBase.Guidance">
                    <Title>Standard persitent, CodeList, light ICodeList, Tracked</Title>
                </Page>
            </Pages>
        </Wizard>
    </GatheringServiceData>
    <Actions CoordinatorServiceType="ActionCoordinator" >

        <xi:include href="Include/03/03GenerateIBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/03/03AddIBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/03/03GenerateBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/03/03AddBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/03/03GenerateValidator.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/03/03AddValidator.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

        <xi:include href="Include/07/07GenerateTest.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/07/07AddTest.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

        <xi:include href="Include/02/02GenerateDao.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/02/02AddDao.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/02/02GenerateHbm.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/02/02AddHbm.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

        <xi:include href="Include/02/02GenerateIDao.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/02/02AddIDao.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        
        <xi:include href="Include/01/01GenerateEntity.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/01/01AddEntityClass.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <!-- will stop for ICodeList -->
        <xi:include href="Include/01/01GenerateEntityFilter.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
        <xi:include href="Include/01/01AddFilterClass.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />       

        
    </Actions>
</Recipe>
